package za.org.jcicada.genss.sensor.messages;

import za.org.jcicada.genss.messages.ReplyMessage;
import za.org.jcicada.genss.messages.Result;

/**
 * SensorSetReply message class
 * @author rcrida
 */
public class SensorSetReply extends ReplyMessage {

    /**
     * Class serialization version id.
     */
    private static final long serialVersionUID = 1L;
    
    /**
     * The number of sensors in the set
     */
    int numSensors;

    /**
     * Create AlarmAttachResponse message
     * @param result structure describing status of request 
     */
    public SensorSetReply(Result result, int numSensors) {
        super(result);
        this.numSensors = numSensors;
    }
    
    public int getNumSensors() {
        return numSensors;
    }
    
}
